package com.heartunderblade.rpc.service.impl;

import com.heartunderblade.rpc.pojo.User;
import com.heartunderblade.rpc.service.UserService;

/**
 * 用户接口实现类
 */
public class UserServiceImpl implements UserService {
    public UserServiceImpl() {
        // 无参构造函数
    }
    @Override
    public User getUser(User user) {
        System.out.println("用户名："+user.getName());
        return user;
    }
}
